﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GameServer.Events;

namespace GameServer
{
    public delegate void OnPlayerConnect(PlayerConnectArgs e);
    public delegate void OnPlayerDisconnect(PlayerDisconnectArgs e);
    public abstract class PlayerListener
    {
        public event OnPlayerConnect ConnectEvent;
        public event OnPlayerDisconnect DisconnectEvent;

        public PlayerListener(Server s)
        {
        }

        public abstract void OnPlayerConnect(PlayerConnectArgs e);
        public abstract void OnPlayerDisconnect(PlayerDisconnectArgs e);
    }
}
